Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #59 with new build-in validator NotMatch , NotEqual #61

Merged
merged 2 commits into from
Aug 11, 2019
Merged

Fix issue #59 with new build-in validator NotMatch , NotEqual #61

merged 2 commits into from
Aug 11, 2019

Conversation

Rhilip
Copy link
Contributor

@Rhilip Rhilip commented Jul 27, 2019

No description provided.

$ composer run-script phpcs
> php phpcs.phar --standard=PSR2 ./src
FILE: /home/travis/build/Rhilip/validation/src/Rule/NotMatch.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 2 | ERROR | [x] There must be one blank line after the namespace
   |       |     declaration
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Time: 1.47 secs; Memory: 10MB
Script php phpcs.phar --standard=PSR2 ./src handling the phpcs event returned with error code 2
The command "composer run-script phpcs" exited with 2.

$ cd tests && ../vendor/bin/phpunit && cd ..
PHPUnit 3.7.38 by Sebastian Bergmann.
Configuration read from /home/travis/build/Rhilip/validation/tests/phpunit.xml
...............................................................  63 / 192 ( 32%)
.......................................F....................... 126 / 192 ( 65%)
............................................................... 189 / 192 ( 98%)
...
Time: 1.46 seconds, Memory: 10.00MB
There was 1 failure:
1) Sirius\Validation\Rule\NotMatchTest::testValidationWithoutItemPresent
Failed asserting that false is true.
/home/travis/build/Rhilip/validation/tests/src/Rule/NotMatchTest.php:32
FAILURES!
Tests: 192, Assertions: 359, Failures: 1.
Generating code coverage report in Clover XML format ... done
Generating code coverage report in HTML format ... done
The command "cd tests && ../vendor/bin/phpunit && cd .." exited with 1.
@adrianmiu adrianmiu merged commit fa93b30 into siriusphp:master Aug 11, 2019
@Rhilip Rhilip deleted the patch-2 branch August 11, 2019 14:32
Rhilip added a commit to Rhilip/RidPT that referenced this pull request Aug 12, 2019
with new build-in validation rule (siriusphp/validation#61), We can easily check if The password matches username.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants